package com.tarena.lbs.content.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("分类结果返回")
public class ArticleCategoryVO {

    @Schema(description ="id")
    private Integer id;

    @Schema(description ="分类名称")
    private String categoryName;

    @Schema(description ="排序")
    private Integer sort;

    @Schema(description ="分类状态")
    private Integer categoryStatus;

    @Schema(description ="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Schema(description ="更新时间")
    //显示时间格式yyyy-MM-dd HH:mm:ss
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
